<?php

require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    //Symfony Plugins
    $this->enablePlugins('sfDoctrinePlugin');
    //PHP Libraries
    set_include_path(sfConfig::get('sf_lib_dir').'/vendor/PHPExcel'.PATH_SEPARATOR.get_include_path());
    require_once sfConfig::get('sf_lib_dir').'/vendor/PHPExcel/PHPExcel.php';
    
    //ioMenuPlugin
    $this->enablePlugins('ioMenuPlugin');
    
    //sfDoctrineGuardPlugin
    $this->enablePlugins(array(
        'sfDoctrinePlugin',
        'sfDoctrineGuardPlugin'));
    $this->enablePlugins('sfFormExtraPlugin');
    $this->enablePlugins('sdInteractiveChartPlugin');
  }
}
